@layout("/common/_container.html"){
<style>.bootstrap-select.btn-group .dropdown-toggle .filter-option{width:90px;}.bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text{margin:0;}.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn){width: 125px;}</style>
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0">
        <div style="display: none">
            <input type="hidden" id="dimensionSelectionCustomerAll" value="treatmentUnit">
            <input type="hidden" id="abbreviationValue" value="${abbreviation}">
            <input type="hidden" id="isks" value="1">
            <input type="hidden" id="sttleAccountsTime" value="${sttleAccountsTime}">
            <input type="hidden" id="menuName" value="报表-集团科室">
            <input type="hidden" id="naturalDaySearchValue" value="1">
        </div>
        <div class="numStatistics">
            <div style="display: none"></div>
            <div id="treatmentUnit" onclick="wholeHospitalTwoNew.toTreatmentUnit()"><span>科室</span></div>
            @for(item in list){
            <div onclick="wholeHospitalTwoNew.toDepartment('${item.department}')"><span>${item.department}</span></div>
            @}
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <span>时间</span>
                    <input type="text" autocomplete="off" id="startTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" autocomplete="off" id="endTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDates})">
                </div>
                <div style="margin-left: 20px;">
                    <button type="button" class="btn" onclick="wholeHospitalTwoNew.naturalDaySearch(1)">自然时间</button>
                    <button type="button" class="btn" onclick="wholeHospitalTwoNew.naturalDaySearch(2)">扎帐时间</button>
                </div>
                <div id="dimensionSelectionBox" style="margin-left: 20px;">
                    <span>纬度选择</span>
                    <select id="dimensionSelectionTwo" title="请选择" name="dimensionSelectionTwo" onchange="wholeHospitalTwoNew.selectionTwo()" style="width: 100px;">
                        <option value="请选择">请选择</option>
                        @for(item in dimensionList){
                        <option value="${item.dimension}">${item.dimension}</option>
                        @}
                    </select>
                </div>
                <div style="margin-left: 20px;">
                    <span>门诊</span>
                    <select id="arrivalStore" name="arrivalStore" class="selectpicker" multiple data-actions-box="true" title="请选择" onchange="wholeHospitalTwoNew.search()">
                        @for(str in outpatientManagementList){
                        <option value="${str.abbreviation}">${str.simplename}</option>
                        @}
                    </select>
                </div>
            </div>
            <div class="buttonBox">
                <div>
                    <button type="button" class="btn" onclick="wholeHospitalTwoNew.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
                    @if(shiro.hasPermission("/report/export")){
                    <button type="button" class="btn" onclick="$('#WholeHospitalsTwoNewTables').tableExport({ type: 'excel', escape: 'false' })">
                        <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/export.png"><span>导出</span></button>
                    @}
                </div>
            </div>
        </div>
        <div class="tableBox"><#table id="WholeHospitalsTwoNewTables"/></div>
    </div>
</div>
<script src="${ctxPath}/static/modular/report/wholeHospitalTwoNew.js?v=20200628"></script>
@}